<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<center>
<h1>글쓰기</h1>
<form method=post action="insert_ok.do" enctype="multipart/form-data"><!-- enctype="multipart/form-data 파일업로드` -->
<table border=1 width=600>
<tr>
<td width=20% align="right">유형</td>
<td width=80% align="left"><select name=type>
<option value="0">스프링 게시판</option>
<option value="1">스트러츠 게시판</option>
<option value="2">안드로이드 게시판</option>
<option value="3">제이쿼리 게시판</option>
<option value="4">에이젝스 게시판</option>
</select>
</td>
</tr>
<tr>
<td width=20% align="right">이름</td>
<td width=80% align="left"><input type="text" name=name size=50></td>
</tr>
<tr>
<td width=20% align="right">이메일</td>
<td width=80% align="left"><input type="text" name=email size=50></td>
</tr>
<tr>
<td width=20% align="right">홈페이지</td>
<td width=80% align="left"><input type="text" name=homepage size=50></td>
</tr>
<tr>
<td width=20% align="right">제목</td>
<td width=80% align="left"><input type="text" name=subject size=50></td>
</tr>
<tr>
<td width=20% align="right" valign=top>내용</td>
<td width=80% align="left"><textarea rows="15" cols="55" name=content></textarea></td>
</tr>
<tr>
<td width=20% align=right>첨부파일</td>
<td width=80% align=left><input type=file name=upload size=35></td>
</tr>
<tr>
<td width=20% align=right>비밀번호</td>
<td width=80% align=left><input type="password" name=pwd size=35></td>
</tr>
<tr>
<td colspan=2 align=center>
<input type=submit value="글쓰기">
<input type=button value="취소" onclick="javascript:history.back()">
</td>
</table>
</form>
</center>
</body>
</html>